package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Destination;
import cn.wolfcode.wolf2w.domain.Banner;
import cn.wolfcode.wolf2w.queryObject.BannerQueryObject;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IBannerService {
    void save(Banner banner);
    void update(Banner banner);
    void delete(String id);
    Banner get(String id);
    List<Banner> list();
    Page<Banner> query(BannerQueryObject qo);

    List<Banner> queryTravelOrderBySequence();

    List<Banner> queryStrategiesOrderBySequence();

}
